#ifndef GPIO_H
#define GPIO_H

#include <QWidget>

class Gpio : public QWidget
{
    Q_OBJECT

public:
    Gpio();
    ~Gpio();
    void GpioConfig(uint8_t pin,QString direction);
    void GpioDeconfig(uint8_t pin);
    uint8_t GpioReadVal(uint8_t pin);
    void GpioWriteVal(uint8_t pin,uint8_t value);
    QList<uint8_t> KeyValGet(const QList<uint8_t>& pins);

private:

};


#endif // GPIO_H
